package com.addplus.townmall.server.api.service.web.paperModule;

import com.addplus.townmall.server.api.model.exam.AutoPaperQuestionNum;
import com.addplus.townmall.server.api.model.exam.ExportFormValue;
import com.addplus.townmall.server.api.model.exam.PaperExtend;
import com.addplus.townmall.server.api.model.exam.QuestionNumData;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;
import java.util.Map;

public interface PaperService {

    QuestionNumData getQuestionNumber()throws Exception;

    Map<String,Object> exportPaper(PaperExtend paperExtend)throws Exception;

    Map<String,Object> autoExportPaper(ExportFormValue exportFormValue)throws Exception;

    /**
     * 查询所有试卷
     * @param papeNum
     * @param papeSize
     * @return
     * @throws Exception
     */
    IPage<PaperExtend> getAllPaperByPage(Integer papeNum, Integer papeSize)throws Exception;

    List<AutoPaperQuestionNum> getQuestionByKnowledge(String knowledgeListValue)throws Exception;
}
